package com.lrkj.back.mapper;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.ZsYicipinKucun;
import org.apache.ibatis.annotations.Param;

import cn.com.cbons.mamisay.parent.db.api.DBInterface;
import cn.com.cbons.mamisay.parent.exception.DBException;

public interface ZsYicipinKucunMapper extends DBInterface<ZsYicipinKucun>{

	List<ZsYicipinKucun> findAllYicipinKucun(Map<String, Object> map) throws DBException;

	int updateKucun(@Param("productId")String productId, @Param("productNum")Integer num) throws DBException;
     
	int updateByBatch(List<ZsYicipinKucun> yicipinKucuns) throws DBException;
}